bin_PROGRAMS = trayinfo
trayinfo_SOURCES = \
	utils.c \
	trayinfo.c \
	s_time.c \
	s_netspeed.c \
	s_cpu.c \
	s_sensor.c \
	s_acpitemp.c \
	s_acpibatt.c \
	s_mpd.c \
	s_mhz.c \
	s_ldavg.c \
	s_gmail.c

noinst_HEADERS = \
	utils.h \
	trayinfo.h

trayinfo_CFLAGS = -pedantic -Wall

SPARSE = sparse
sparse:
	for i in $(trayinfo_SOURCES); do \
		$(SPARSE) $$i || exit; \
	done
